package com.fan.mapper;

import com.fan.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    User login(String userName, String passWord);

    User selectByName(String userName);

    int insertUser(int userId,String userName, String passWord);

    int getCount();

    /**
    * @Description: 获取全部用户信息
    * @Date:  2022/7/27 10:36
    **/
    List<User> getAllUser();
}
